package day12;

public class DowSoftWare extends SoftWare implements Download{
private String name1;

    public String getName1() {
        return name1;
    }

    public void setName1(String name1) {
        this.name1 = name1;
    }

    public DowSoftWare(String name, int size, String name1) {
        super(name, size);
        this.name1 = name1;
    }

    public DowSoftWare(String name, int size) {
        super(name, size);
    }


    public void start(){
    System.out.println(name1+"启动成功");
}
    @Override
    public void dol() {
        System.out.println(super.getName()+"软件下载成功");
    }
}
